package com.itboye.jinpuyiyuan.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/5/9 0009.
 *
 *    "DOCTOR_ID": "YS49",        医生唯一id
 "NAME": "妇科专家六诊室普通号",   医生名称
 "JOB_TITLE": "医师",             医生职称
 "REG_LIST": [{                   出诊日期集合
 "REG_DATE": "2018-05-10",        出诊日期 格式 YYYY-MM-DD
 "REG_WEEKDAY": "星期四",          出诊日期对应星期，如：星期五
 "REG_TIME_LIST": [               医生上午、下午、晚上排班信息集合
 [{
 "REG_ID": "20180510-49-1",    排班ID，如果存在分时，那么挂号的排班ID以分时接口里返回的排班ID为准
 "TIME_FLAG": "1",            1 为上午 (06:00-12:00) 2 为下午 (12:00-18:00)  3  为晚上(18:00-次日06:00)

 "REG_STATUS": "1",          出诊状态  0	停诊  1	出诊   2	暂未开放

 "TOTAL": "99",              该时段可挂号源总数，不限号源数量默认传99
 "OVER_COUNT": "99",            该时段剩余号源数，不限号源数量默认传99
 "REG_LEVEL": "1",            排班类别：1-普通 2-专家 3-急诊
 "REG_FEE": "1000",           挂号费用，单位：分
 "TREAT_FEE": "0",              诊疗费用，单位：分
 "ISTIME": "0"                  是否有分时，0-否  1-是
 }, {
 "REG_ID": "20180510-49-2",
 "TIME_FLAG": "2",
 "REG_STATUS": "1",
 "TOTAL": "99",
 "OVER_COUNT": "99",
 "REG_LEVEL": "1",
 "REG_FEE": "1000",
 "TREAT_FEE": "0",
 "ISTIME": "0"
 }]
 ]
 }],
 "uid": "1143",
 "desc": "",
 "special": "",
 "online_status": "1",
 "alibaichuan_id": "tb_im_u_81ebb15fab1c15a8236ad5b0f9ab63b0",
 "mobile": "17681876087",
 "sex": "0"
 */

public class DoctorRegInfoBean implements Serializable {

    @SerializedName("DOCTOR_ID")
    String doctor_id;
    @SerializedName("NAME")
    String name;
    @SerializedName("JOB_TITLE")
    String job_title;
    @SerializedName("REG_LIST")
    List<RegTime>  reg_list;
    String    uid;
    String    desc;
    String    special;
    String     online_status;
    String    alibaichuan_id;
    String     mobile;
    String     sex;

    public String getDoctor_id() {
        return doctor_id;
    }

    public void setDoctor_id(String doctor_id) {
        this.doctor_id = doctor_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJob_title() {
        return job_title;
    }

    public void setJob_title(String job_title) {
        this.job_title = job_title;
    }

    public List<RegTime> getReg_list() {
        return reg_list;
    }

    public void setReg_list(List<RegTime> reg_list) {
        this.reg_list = reg_list;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getSpecial() {
        return special;
    }

    public void setSpecial(String special) {
        this.special = special;
    }

    public String getOnline_status() {
        return online_status;
    }

    public void setOnline_status(String online_status) {
        this.online_status = online_status;
    }

    public String getAlibaichuan_id() {
        return alibaichuan_id;
    }

    public void setAlibaichuan_id(String alibaichuan_id) {
        this.alibaichuan_id = alibaichuan_id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public class RegTime implements Serializable{
        @SerializedName("REG_DATE")
        String reg_date;
        @SerializedName("REG_WEEKDAY")
        String reg_weekday;
        @SerializedName("REG_TIME_LIST")
        List<ItemRegTime> reg_time_list;

        public String getReg_date() {
            return reg_date;
        }

        public void setReg_date(String reg_date) {
            this.reg_date = reg_date;
        }

        public String getReg_weekday() {
            return reg_weekday;
        }

        public void setReg_weekday(String reg_weekday) {
            this.reg_weekday = reg_weekday;
        }

        public List<ItemRegTime> getReg_time_list() {
            return reg_time_list;
        }

        public void setReg_time_list(List<ItemRegTime> reg_time_list) {
            this.reg_time_list = reg_time_list;
        }

        public class ItemRegTime implements Serializable{
            @SerializedName("REG_ID")
            String reg_id;
            @SerializedName("TIME_FLAG")
            String time_flag;
            @SerializedName("REG_STATUS")
            String reg_status;
            @SerializedName("TOTAL")
            String total;

            @SerializedName("OVER_COUNT")
            String over_count;
            @SerializedName("REG_LEVEL")
            String reg_level;
            @SerializedName("REG_FEE")
            String reg_fee;
            @SerializedName("TREAT_FEE")
            String treat_fee;
            @SerializedName("ISTIME")
            String istime;

            public String getReg_id() {
                return reg_id;
            }

            public void setReg_id(String reg_id) {
                this.reg_id = reg_id;
            }

            public String getTime_flag() {
                return time_flag;
            }

            public void setTime_flag(String time_flag) {
                this.time_flag = time_flag;
            }

            public String getReg_status() {
                return reg_status;
            }

            public void setReg_status(String reg_status) {
                this.reg_status = reg_status;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getOver_count() {
                return over_count;
            }

            public void setOver_count(String over_count) {
                this.over_count = over_count;
            }

            public String getReg_level() {
                return reg_level;
            }

            public void setReg_level(String reg_level) {
                this.reg_level = reg_level;
            }

            public String getReg_fee() {
                return reg_fee;
            }

            public void setReg_fee(String reg_fee) {
                this.reg_fee = reg_fee;
            }

            public String getTreat_fee() {
                return treat_fee;
            }

            public void setTreat_fee(String treat_fee) {
                this.treat_fee = treat_fee;
            }

            public String getIstime() {
                return istime;
            }

            public void setIstime(String istime) {
                this.istime = istime;
            }
        }
        }


    }

